<?php

if (!eregi("admin.php", $_SERVER['SCRIPT_NAME'])) { die ("Access Denied"); }

switch($op) {

    case "sp":
    case "OrderspCategory":
    case "sp_cat":
    case "sp_add_goods":
    case "sp_add_category":
    case "sp_edit_category":
    case "sp_save_category":
    case "sp_del_category":
    case "sp_save_goods":
    case "sp_delit_goods":
    case "sp_status_goods":
    case "sp_home_goods":
    case "sp_action_off":
    case "sp_action_add":
    case "sp_action_on":
    case "sp_edit_goods":
    case "sp_edit_save":
    case "sp_orders":
    case "sp_order_confirm":
    case "sp_order_delit":
    case "sp_goods_list":
    case "sp_newlimit":
    case "sp_price":
    case "sp_price_list":
    case "sp_newprice_save":
    case "sp_blockgoods":
    case "sp_blockgoods_add":
    case "sp_blockgoods_del":
    include("modules/sp.php");
    break;

}

?>
